package com.bingo.demo;


import com.bingo.controller.TestEventListenerController;
import com.bingo.service.IOCService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class AnnotationIOCDemo {
    public static void main (String args[]){
		ApplicationContext context = new AnnotationConfigApplicationContext("com.bingo");
		IOCService iocService=context.getBean(IOCService.class);
		System.out.println(iocService.hollo());
    }
}
